package cc.mrbird.febs.accounting.service.template.impl;

import cc.mrbird.febs.accounting.service.template.TemplateStrategy;
import cc.mrbird.febs.accounting.service.template.TemplateType;
import org.springframework.stereotype.Component;

import java.util.LinkedHashMap;
import java.util.Map;

@TemplateType(1)
@Component
public class ThirdPartyTemplate implements TemplateStrategy {
    @Override
    public Map<Integer, String> getIndexMap() {
        Map<Integer, String> map = new LinkedHashMap<>();
        map.put(0, "所属公司");
        map.put(1, "所属项目");
        map.put(2, "内容");
        map.put(3, "税率");
        map.put(4, "总税率");
        return map;
    }

    @Override
    public int getStartRowOffset() {
        return 0;
    }
}
